package cn.edu.scau.cmi.ema.service;

import java.util.List;
import java.util.Set;
import java.io.IOException;
import com.alibaba.fastjson.JSONObject;
import java.util.Map;
import org.springframework.web.bind.annotation.RequestParam;
import cn.edu.scau.cmi.ema.domain.*;
import cn.edu.scau.cmi.ema.domain.base.CmiPagination;


public interface FoodsaleaddressService {

	public Foodsaleaddress saveFoodsaleaddress(Foodsaleaddress foodsaleaddress);

	public Set<Foodsaleaddress> loadFoodsaleaddresss();

	public Set<Foodsaleaddress> loadReferenceFoodsaleaddresss(Set<Foodsaleaddress> foodsaleaddresss);

	public Set<Foodsaleaddress> loadFoodsaleaddresssByIdSet(Set<Integer> foodsaleaddresssId);

	public Map<String, ?> loadFoodsaleaddressObjectReferencedSet(Foodsaleaddress foodsaleaddress);

	public Map<String, ?> loadFoodsaleaddressClassReferencedSet(Foodsaleaddress foodsaleaddress);

	public void deleteFoodsaleaddress(Foodsaleaddress foodsaleaddress);

	public void deleteFoodsaleaddresss(Set<Integer> deleteFoodsaleaddresssId);

	public List<Foodsaleaddress> findAllFoodsaleaddresss(Integer startResult, Integer maxRows);

	public Foodsaleaddress findFoodsaleaddressByPrimaryKey(Integer id);

	public Integer countFoodsaleaddresss();

	public Integer countFoodsaleaddresss(CmiPagination page);

	public Integer countFoodsaleaddresssByName(String queryName);

	public Integer countFoodsaleaddresssByDetachedCriteria(CmiPagination page);

}
